home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Auge 4000 / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).zip / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).adf / arp-pro1.3 / OLD_MANUAL / AddDADevs < prev    next >
Text File  |  1990-06-22  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4.      AddDADevs(31.0)      ARP Programmers Manual       AddDADevs(31.0)
  5.  
  6.  
  7.  
  8.      NAME
  9.       AddDADevs -- get private copy    of DevInfo list.
  10.  
  11.      SYNOPSIS
  12.       numentries = AddDADevs( dalist, select )
  13.           D0            A0,        D0
  14.  
  15.      FUNCTION
  16.       AddDADevs provides a method of searching the DevInfo list
  17.       for specific types of    entries, and adding them to a user
  18.       private DA list in a way that    is safe    for multitasking, and
  19.       easily accessible for    assembler or higher level languages.
  20.       This function    calls AddDANode() to add nodes to the dalist.
  21.       The list is sorted first by class, and then
  22.       alphanumerically, by name.  The user is responsible for
  23.       freeing the nodes allocated by this function.
  24.  
  25.      INPUTS
  26.       dalist - pointer to a    DA list    header
  27.  
  28.       selectmask --    the selection mask which determines which
  29.           devices will added to    the DA list.  See defines
  30.           arpbase.[hi]
  31.  
  32.      RESULT
  33.       numentries -    The number of entries actually added to    the
  34.           users    DA list    will be    returned as the    value of this
  35.           function, and    the list nodes will have been
  36.           allocated and    added to dalist.
  37.  
  38.      BUGS
  39.       None known.
  40.  
  41.      SEE ALSO
  42.       FreeDAList(),    AddDANode(), DosFreeMem(), Tracking functions.
  43.  
  44.      AUTHOR
  45.       CDH
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 2/22/88)
  64.  
  65.  
  66.  
  67.